﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ServiceEntities;
using BVCommon.Entities;

// NOTE: If you change the class name "OrderItemService" here, you must also update the reference to "OrderItemService" in Web.config.
public class OrderItemService : IOrderItemService
{

    public List<Order_Item> GetData()
    {
        List<Order_Item> list;
        using (BtVisionEntities data = new BtVisionEntities())
        {
            list = (from p in data.Order_Item
                    select p).ToList();
        }
        return list;
    }
}
